package cn.wen.yinxiu.works.entity;

import cn.wen.yinxiu.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 *
 * @ClassName: UsersLikeRelationEntity
 * @Author 小飞
 * @Email coderwen22@163.com
 * @Date 2023-05-21 22:19:26
 * @Description: 点赞关系表
 */
@Data
@TableName("user_like_relation")
public class UsersLikeRelationEntity extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	/**
	 * 当前用户
	 */
	private Long userId;
	/**
	 * 作品ID
	 */
	private Long worksId;
	/**
	 * 1:可用,0:禁用
	 */
	private Integer status;

}
